﻿component  output="false" 
{    
    this.SCFAD = CreateObject("component", "code_lib.SCF_ActiveDirectory");//Active Directory   
    this.SCFPS = CreateObject("component", "code_lib.SCF_PowerShell");//Powershell Service

	public ActiveDirectory function init()
	{
        return this;    
	}
    
    public array function parseUserDNString( string DN="" ){
        return REMatch("\bCN=(.*?)DC=com", arguments.DN );
    }

}